﻿using CozeDomain.Entities;
using CozeDto.MyCollectionDtos;
using D.UtilCore.Dtos;
using D.UtilFreesqlOrm;

namespace CozeDomain.IServices
{
    /// <summary>
    /// 我的收藏接口
    /// </summary>
    public interface IMyCollectionEntityService : IBaseService<MyCollectionEntity>
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="reqAddMyCollection"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddMyCollectionAsync(ReqAddMyCollection reqAddMyCollection);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeleteMyCollectionAsync(List<string> ids);
         
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="reqQueryMyCollectionPage"></param>
        /// <returns></returns>
        Task<ApiResult<PageModel<RepMyCollectionInfo>>> QueryMyCollectionPagesAsync(ReqQueryMyCollectionPage reqQueryMyCollectionPage);
    }
}
